﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Domain.Entity
{
    [Serializable]
    public class Invoice
    {
        public virtual long ID
        {
            get;
            set;
        }

        [Display(Name = "Invoice No")]
        public virtual string InvoiceNo
        {
            get;
            set;
        }

        public virtual Status Status
        {
            get;
            set;
        }

        [Display(Name = "Total Amount")]
        public virtual decimal TotalAmount
        {
            get;
            set;
        }

        [Display(Name = "Created Date")]
        public virtual DateTime CreatedDate
        {
            get;
            set;
        }

        public virtual int CreatedBy
        {
            get;
            set;
        }

        public virtual bool IsDeleted
        {
            get;
            set;
        }

        public virtual IList<JobBooking> JobBookingList
        {
            get;
            set;
        }
    }
}
